﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Wicresoft.RDW.Utility
{
    /// <summary>
    /// Page Status
    /// </summary>
    public enum PageStatus
    {
        View, New, Edit, Readonly
    }
    /// <summary>
    /// Page Language
    /// </summary>
    public enum Language
    {
        EN, CN
    }

    public enum LabStatus
    {
        Closed = 0,
        Opened = 1
    }

    public enum ProductStatus
    {
        Inactive = 0,
        Active = 1
    }

    //[EnumItemDescription("zh-CN", "")]
    //[EnumItemDescription("en-US", "")]
    public enum RequestType
    {
        [EnumItemDescription("zh-CN","参观")]
        [EnumItemDescription("en-US", "Visit")]
        Visit = 1,
        [EnumItemDescription("zh-CN", "场地租借")]
        [EnumItemDescription("en-US", "SiteBorrow")]
        SiteBorrow = 2,
        [EnumItemDescription("zh-CN", "测试")]
        [EnumItemDescription("en-US", "Testing")]
        Testing = 3
    }
    public enum RequestStatus
    {
        [EnumItemDescription("zh-CN", "草稿")]
        [EnumItemDescription("en-US", "Draft")]
        Draft = 0,
        [EnumItemDescription("zh-CN", "待批准")]
        [EnumItemDescription("en-US", "Pending")]
        Pending = 1,
        [EnumItemDescription("zh-CN", "已批准")]
        [EnumItemDescription("en-US", "Approved")]
        Approved = 2,
        [EnumItemDescription("zh-CN", "取消")]
        [EnumItemDescription("en-US", "Canceled")]
        Canceled = 3,
        [EnumItemDescription("zh-CN", "拒绝")]
        [EnumItemDescription("en-US", "Rejected")]
        Rejected = 4,
        [EnumItemDescription("zh-CN", "要求更多")]
        [EnumItemDescription("en-US", "AskForMore")]
        AskForMore = 5,
        [EnumItemDescription("zh-CN", "缺席")]
        [EnumItemDescription("en-US", "Absent")]
        Absent = 6,
        [EnumItemDescription("zh-CN", "完成")]
        [EnumItemDescription("en-US", "Completed")]
        Completed = 7
    }
    public enum FeedbackStatus
    {
        Active = 1,
        Overtime = 2,
        Completed = 3
    }
    public enum QuestionStatus
    {
        Active = 1,
        InActive = 0
    }

    public enum ControStatus
    {
        Add = 0,
        Rework = 1,
        Delete = 2,
        ReworkShow = 3,
        AddShow = 4
    }

    public enum PageParameter
    {
        CancelBeforeHour=1,
        ApproveWaitingDay=2,
        ApplyPeriodMinute=3,
        FeedbackEmailRemindDay=4,
        FeedbackCompleteMonth=5,
        CreditScoreIncrese=6,
        CreditScoreDecrese=7,
        DefaultCreditScore=8,
        ApplyBeforeHour=9,
        MinCreditScore=10,
        MaxCreditScore=11
    }
    public static class EmailTemplate
    {
        public const string LabClosedReminder = "LabClosedReminderTemplate";
        public const string ProductInactiveReminder = "ProductInactiveReminderTemplate";
        public const string ApprovalReminder = "ApprovalReminderTemplate";
        public const string RequestCancelledReminder = "RequestCancelledReminderTemplate";
        public const string ApprovedReminder = "ApprovedReminderTemplate";
        public const string RejectedReminder = "RejectedReminderTemplate";
        public const string AskForMoreReminder = "AskForMoreReminderTemplate";
        public const string ApprovalReminderAfterAskForMore = "ApprovalReminderAfterAskForMoreTemplate";
        public const string CompleteFeedbackSurveyReminder = "CompleteFeedbackSurveyReminderTemplate";
    }
}
